The Case for Total Programming

نویسنده

  • Andrew M Gravell
چکیده

This paper considers total functions, which are uniformly defined, total procedures (or batch programs), which terminate uniformly, and total processes, which consist of a UNITY-like set of total procedures, so that they never terminate. This collection is shown to be Turing-complete. It can also appropriate for interactive programming. The paper argues from a software engineering viewpoint that total programming improves the reliability of programs, and makes them easier to reason about, with only a minor sacrifice of expressiveness. In particular, considering only total programs allows definitions and laws to be simplified. Formal derivations of total procedures are given using a novel combination of the Z-style termination convention combined with partial correctness reasoning. The derivations, it is claimed, are at least as clear and simple as those produced by other methods of formal operational refinement.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Fuzzy Goal-Programming Model for Optimization of Sustainable Supply Chain by Focusing on the Environmental and Economic Costs and Revenue: A Case Study

Sustainable supply chain has become an integral part of the corporate strategy. In this paper, a real case study of the natural gas supply chain has been investigated. Using concepts related to natural gas industry and the relations among the compo-nents of gas and oil wells, refineries, storage tanks, dispatching, transmission and distribution network, a seven-level supply chain has been intro...

متن کامل

A Mixed Integer Programming Approach to Optimal Feeder Routing for Tree-Based Distribution System: A Case Study

A genetic algorithm is proposed to optimize a tree-structured power distribution network considering optimal cable sizing. For minimizing the total cost of the network, a mixed-integer programming model is presented determining the optimal sizes of cables with minimized location-allocation cost. For designing the distribution lines in a power network, the primary factors must be considered as m...

متن کامل

A Scenario-Based Nonlinear Programming Model for a Two-Level Inventory Control Problem: A Case in Dairy Product Industry

In this paper, a novel scenario-based two-level inventory control model with a limited budget is formulated. The demand during the selling period is considered to follow a uniform probability distribution. In addition, it is assumed that there will be some customers who are willing to wait for their demands to be satisfied; thus a service level is considered for these customers. The aim is to f...

متن کامل

A Mathematical Programming for a Special Case of 2E-LRP in Cash-In-Transit Sector Having Rich Variants

In this article, we propose a special case of two-echelon location-routing problem (2E-LRP) in cash-in-transit (CIT) sector. To tackle this realistic problem and to make the model applicable, a rich LRP considering several existing real-life variants and characteristics named BO-2E-PCLRPSD-TW including different objective functions, multiple echelons, multiple periods, capacitated vehicles, dis...

متن کامل

Fuzzy Goal Programming Model to Rolling Performance Based Budgeting by Productivity Approach (Case Study: Gas Refiner-ies in Iran)

This research presents a mathematical model for performance-based budgeting and combines it with rolling budget for increased flexibility. The model has been designed by Chebyshev's goal programming technique with fuzzy approach. The parameters or coefficients of the model are derived by measuring the productivity of the organizations considering eight criteria. Data for calc...

متن کامل

Application of VENTSIM 3D and mathematical programming to optimize underground mine ventilation network: A case study

Ventilation is a vital component of an underground mining operation, used to guarantee a safe atmosphere for workers and survive them from the hazardous and toxic gases. In the recent years, engineers have begun to apply new operation research techniques in order to optimize the ventilation systems to assist in achieving a regulatory compliance, reduce ventilation costs, and improve its efficie...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997